package com.zhuchaooasystem.presenter.home.serviceunusual;

import com.zhuchaooasystem.base.IPresenter;
import com.zhuchaooasystem.base.IView;
import com.zhuchaooasystem.entity.ServiceUnusualEntity;
import com.zhuchaooasystem.entity.UnusualDetailEntity;

import java.util.List;

/**
 * @author yinsi
 */


public interface ServiceUnusualContract {

    interface View extends IView {

        void refreshData(List<ServiceUnusualEntity.ResultBean.SuccessfulBean> data);

        int getProjectId();

        void deleteSuccuss();

        void detailSuccuss(UnusualDetailEntity.ResultBean.SuccessfulBean entity);

    }

    interface Presenter extends IPresenter {

        void getUnusualList();

        void deleteUnusual(int unusualId);

        void getUnusualDetail(int unusualId);

    }
}
